package tech.runchen.gz5055.oms.common.enums;

/**
 * @author zzj
 */

public enum OrderStatus {

    WAIT("待确认", 0), CONFIRM("已确认", 1), SHIPPED("已发货", 2), DONE("已完成", 3), CANCEL("已取消", 4),
    TIMEOUT_SHIPPED("超时未送出", 98), TIMEOUT_DONE("超时未送出", 99);

    private final String name;
    private final int value;

    OrderStatus(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public int getValue() {
        return value;
    }
}
